package net.maku.module.file.convert;

import net.maku.module.file.entity.BusiFileEntity;
import net.maku.module.file.vo.BusiFileVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_文档库
*
* @author 阿沐 babamu@126.com
*/
@Mapper
public interface BusiFileConvert {
    BusiFileConvert INSTANCE = Mappers.getMapper(BusiFileConvert.class);

    BusiFileEntity convert(BusiFileVO vo);

    BusiFileVO convert(BusiFileEntity entity);

    List<BusiFileVO> convertList(List<BusiFileEntity> list);

}